<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>微信导航栏</title>
    <style>
        .con{
            height: 50px;
            background-image: linear-gradient(#454545,#181818);
        }
        ul>li{
            list-style-type: none;
            display: inline-block;
            line-height: 10px;
            margin: 0px;
        }
        img{
            float: left;
            height: 30px;
            margin: 10px;
        }
        ul{
            float: right;
        }
        span{
            color: #fff;
        }
        li>a{
            padding-left: 15px;
            line-height: 33px;
            height: 33px;
            display: inline-block;
            padding-right: 15px;
        }
        li>a:hover{
            background-image: url("../imgcss/nav.png");
        }
        li>a:hover span{
            background-image: url("../imgcss/nav.png");
            background-position: right;
        }
    </style>
</head>
<body>
<div class="con">
    <img src="../imgcss/weixin.png" alt="">
    <ul>
        <li><a href=""><span>首页</span></a></li>
        <li><a href=""><span>微信下载</span></a></li>
        <li><a href=""><span>微信支付</span></a></li>
        <li><a href=""><span>公众号</span></a></li>
        <li><a href=""><span>小程序</span></a></li>
        <li><a href=""><span>帮助与反馈</span></a></li>
    </ul>
</div>
</body>
</html>